package com.liyunc.demo.bundle.security.model;

import lombok.Getter;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;

/**
 * @file BaseCredential.java
 * @brief BaseCredential
 * @details BaseCredential
 * @version 1.0
 * @author liyuncong
 * @date 2022-03-31
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2022-03-31                  liyuncong          Created
 *
 */
@Getter
public class BaseCredential<T> extends UsernamePasswordAuthenticationToken {
    public BaseCredential(Object principal, Object credentials) {
        super(principal, credentials);
    }
}
